package com.grades.springboot.service;

import cn.hutool.core.date.DateTime;
import com.grades.springboot.entity.Result;

public interface ValidationService {

    Result<?> sendValidation(String email);

    void sendEmail(String email);

    void saveCode(String email, String code, DateTime time);

//    int findValidation(String email);

    boolean checkValidation(String email,String code);

//    void deleteValidation(String email);
}
